package com.lening.mapper;

import com.lening.entity.OrderBean;
import com.lening.entity.PowerBean;
import com.lening.entity.ProductBean;
import com.lening.entity.UserBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 创作时间：2019/8/22 9:46
 * 作者：李增强
 */
public interface StuMapper {

    List<PowerBean> getPowerList();
    int getUserCount();
    List<UserBean> getUserList(@Param("startRecord") int startRecord, @Param("pageSize") int pageSize);

    List<OrderBean> getUserOrderList(Integer id);

    List<ProductBean> getProList();

    ProductBean getProById(Integer pid);

    /*void deleteUser(Integer bid);

    void deleteCar(Integer bid);

    List<RoleBean> getRoleList();

    UserBean getUserById(Integer bid);

    RoleBean getRoleByName(String rname);

    void addRole(RoleBean rname);*/
}
